import { createApp } from 'vue'

import vant from 'vant'

import '@vant/touch-emulator'

import { createPinia } from 'pinia'

import { i18n } from './i18n'

import piniaPersist from 'pinia-plugin-persist'

import router from "@/router"

import App from './App.vue'

import 'vant/lib/index.css';

import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'

import "@/assets/css/tailwind.css"

const app = createApp(App)

const pinia = createPinia()

pinia.use(piniaPersist)

app.use(pinia)

app.use(i18n)

app.use(vant)

app.use(router)

app.mount('#app')
